package com.xiaoyu.awakening.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.Set;

/**
 * @author wangxiaoyu
 * @since v1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "gateway.security")
public class GatewaySecurityConfig {
    private Set<String> unAuthList = new HashSet<>();
    private String secret = "";
    private String authorizationHeader = "Token";
    private String domain;
}
